package com.wing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author
 */
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.wing"})
@SpringBootApplication(scanBasePackages = {"com.wing"})
@EnableScheduling
@EnableTransactionManagement
public class FinanceServerApp {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(FinanceServerApp.class);
        springApplication.setAllowCircularReferences(Boolean.TRUE);
        springApplication.run(args);

    }
}
